package alp.starcode.framework.db.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 评论表(comments)
 * </p>
 *
 * @author yanglin
 * @since 2021-11-29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("comments")
public class Comments extends Model<Comments> {

    private static final long serialVersionUID=1L;

    /**
     * 评论编号
     */
    @TableId("commentsUuid")
    private String commentsUuid;

    /**
     * 订单编号
     */
    @TableField("orderUuid")
    private String orderUuid;

    @TableField("userUuid")
    private String userUuid;

    /**
     * 评论内容
     */
    @TableField("commentsContent")
    private String commentsContent;

    /**
     * 评论时间
     */
    @TableField("createTime")
    private Long createTime;

}
